home *** CD-ROM | disk | FTP | other *** search
/ Aminet 40 / Aminet 40 (2000)(Schatztruhe)[!][Dec 2000].iso / Aminet / misc / emu / msh-156.lha / util / fmtwindow.h < prev    next >
C/C++ Source or Header  |  1993-10-14  |  4KB  |  98 lines

  1. /*
  2.  *  Source machine generated by GadToolsBox V2.0b
  3.  *  which is (c) Copyright 1991-1993 Jaba Development
  4.  *
  5.  *  GUI Designed by : Olaf 'Rhialto' Seibert
  6.  */
  7.  
  8. #define GetString( g )      ((( struct StringInfo * )g->SpecialInfo )->Buffer  )
  9. #define GetNumber( g )      ((( struct StringInfo * )g->SpecialInfo )->LongInt )
  10.  
  11. #define GD_HANDLERS                            0
  12. #define GD_FMT_WHAT                            1
  13. #define GD_OPTIONS                             2
  14. #define GD_DOIT                                3
  15. #define GD_CANCEL                              4
  16.  
  17. #define GDX_HANDLERS                           0
  18. #define GDX_FMT_WHAT                           1
  19. #define GDX_OPTIONS                            2
  20. #define GDX_DOIT                               3
  21. #define GDX_CANCEL                             4
  22.  
  23. #define GD_BPS                                 40
  24. #define GD_SPT                                 41
  25. #define GD_NSIDES                              42
  26. #define GD_FIRSTCYL                            43
  27. #define GD_NCYLS                               44
  28. #define GD_RESERVED                            45
  29. #define GD_NHID                                46
  30. #define GD_SPC                                 47
  31. #define GD_NFATS                               48
  32. #define GD_SPF                                 49
  33. #define GD_NSECTS                              50
  34. #define GD_MEDIA                               51
  35. #define GD_NDIRS                               52
  36. #define GD_OK                                  53
  37.  
  38. #define GDX_BPS                                0
  39. #define GDX_SPT                                1
  40. #define GDX_NSIDES                             2
  41. #define GDX_FIRSTCYL                           3
  42. #define GDX_NCYLS                              4
  43. #define GDX_RESERVED                           5
  44. #define GDX_NHID                               6
  45. #define GDX_SPC                                7
  46. #define GDX_NFATS                              8
  47. #define GDX_SPF                                9
  48. #define GDX_NSECTS                             10
  49. #define GDX_MEDIA                              11
  50. #define GDX_NDIRS                              12
  51. #define GDX_OK                                 13
  52.  
  53. #define Main_CNT 5
  54. #define Parm_CNT 14
  55.  
  56. extern struct IntuitionBase *IntuitionBase;
  57. extern struct Library       *GadToolsBase;
  58.  
  59. extern struct Screen        *Scr;
  60. extern UBYTE                 *PubScreenName;
  61. extern APTR                  VisualInfo;
  62. extern struct Window        *MainWnd;
  63. extern struct Window        *ParmWnd;
  64. extern struct Gadget        *MainGList;
  65. extern struct Gadget        *ParmGList;
  66. extern UWORD                 MainZoom[4];
  67. extern UWORD                 ParmZoom[4];
  68. extern struct Gadget        *MainGadgets[5];
  69. extern struct Gadget        *ParmGadgets[14];
  70. extern UWORD                 MainLeft;
  71. extern UWORD                 MainTop;
  72. extern UWORD                 MainWidth;
  73. extern UWORD                 MainHeight;
  74. extern UWORD                 ParmLeft;
  75. extern UWORD                 ParmTop;
  76. extern UWORD                 ParmWidth;
  77. extern UWORD                 ParmHeight;
  78. extern UBYTE                *MainWdt;
  79. extern UBYTE                *ParmWdt;
  80. extern struct TextAttr      *Font, Attr;
  81. extern UWORD                 FontX, FontY;
  82. extern UWORD                 OffX, OffY;
  83. extern UBYTE                *FMT_WHAT0Labels[];
  84. extern UWORD                 MainGTypes[];
  85. extern UWORD                 ParmGTypes[];
  86. extern struct NewGadget      MainNGad[];
  87. extern struct NewGadget      ParmNGad[];
  88. extern ULONG                 MainGTags[];
  89. extern ULONG                 ParmGTags[];
  90.  
  91.  
  92. extern int SetupScreen( void );
  93. extern void CloseDownScreen( void );
  94. extern int OpenMainWindow( void );
  95. extern void CloseMainWindow( void );
  96. extern int OpenParmWindow( void );
  97. extern void CloseParmWindow( void );
  98.